package net.kleinhenz.questor;

import java.io.File;


import net.kleinhenz.questor.model.Quest;

import org.simpleframework.xml.Serializer;
import org.simpleframework.xml.core.Persister;

public class SimpleTEST {

	public static void main(String[] args) throws Exception {

		Serializer serializer = new Persister();
		File source = new File("assets/story.xml");

		Quest example = serializer.read(Quest.class, source);
		System.out.println("Done: " + example.getAbout().getTitle());
	}
}
